<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<html>
<head>
    <title></title>
</head>
<body>
<h1>Please upload a file</h1>

<table id="flight">
    <tr>
        <th>ID</th>
        <th>ID</th>
        <th>Код рейса</th>
        <th>компания</th>
    </tr>
    <c:forEach items="${flightList}" var="flight">
        <tr>
        <td><c:url value="${flight.flightID}"/></td>
        <td><a href="flightById"><c:url value="${flight.flightID}"/></a></td>
        <td><c:out value="${flight.code}"/></td>
        <td><c:out value="${flight.flight}"/></td>
        </tr>

    </c:forEach>
</table>
</body>
</html>
